package sgi.user;

public class User {

	public static enum privilege {CUSTOMER,SYSADMIN,CEO,ARCHIVE_MANAGER,SALES_MANAGER,CUSTOMER_RELATIONS_REPRESENATIVE};
	
	private String username;
	private String password;
	private String fname;
	private String lname;
	private int privilege;
	
	public User(String username,String password,int privilege)
	{
		this.username=username;
		this.password=password;
		this.privilege=privilege;
	}
	
	public User(User user)
	{
		this.username=user.getUsername();
		this.password=user.getPassword();
		this.privilege=user.getPrivilege();
	}
	
	public String getUsername() {
		return username;
	}

	public String getPassword() {
		return password;
	}

	public int getPrivilege() {
		return privilege;
	}
}
